package com.qinglei.recoup.system.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum IocUpdateEnum {

    PLANNED("CONFIRM", "待确认"),
    QUEUED("QUEUED", "待推送"),
    NOTIFIED("NOTIFIED", "已推送"),
    IN_PROGRESS("IN_PROGRESS", "升级中"),
    SUCCEEDED("SUCCEEDED", "升级成功"),
    FAILED("FAILED", "升级失败"),
    CANCELED("CANCELED", "已取消");

    IocUpdateEnum(String code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    @EnumValue
    private final String code;
    @EnumValue
    private final String descp;

}
